import requset from "@/utils/requset";

// 获取轮播图的数据
export const getSwiper = ()=>requset({
    url:'home/banner'
})
// 获取新鲜好物数据
export const getNewGood = ()=>requset({
    url:'/home/new'
})
// 获取人气推荐数据
export const getHot = ()=>requset({
    url:'/home/hot'
})

// 获取所有商品
export const getGoods = ()=>requset({
    url:'/home/goods'
})